﻿using System.Collections.ObjectModel;

namespace ZquenceStudio3Host.DspPlugins.Synthesizers.Nodesizer.Engine.Modules.Container
{
    public interface IModuleContainer
    {
        ReadOnlyCollection<ModuleInput> Inputs { get; }
        ReadOnlyCollection<ModuleOutput> Outputs { get; }

        ReadOnlyCollection<BaseModule> SubModules { get; }
        BaseModule ParentModule { get; set; }

        void AddSubModule(BaseModule module);

        void RemoveSubModule(BaseModule module);
    }
}
